<html lang="en-US">
    <head>
        <title>Input in Div in Label</title>
    </head>
    <body>
        <main>
            <h1>Input in Div in Label</h1>
            <label for="test">
                <div>
                    <input id="test" type="checkbox">
                </div>
                Label
            </label>
            <label>
                <div>
                    <input type="checkbox">
                </div>
                Label
            </label>
        </main>
        <script type="text/javascript">
            UnitTest = {
                ruleIds: ["WCAG20_Input_LabelAfter", "WCAG20_Input_ExplicitLabel"],
                results: [
                {
                    "ruleId": "WCAG20_Input_LabelAfter",
                    "value": [
                    "INFORMATION",
                    "PASS"
                    ],
                    "path": {
                    "dom": "/html[1]/body[1]/main[1]/label[1]/div[1]/input[1]",
                    "aria": "/document[1]/main[1]/checkbox[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "WCAG20_Input_ExplicitLabel",
                    "value": [
                    "INFORMATION",
                    "PASS"
                    ],
                    "path": {
                    "dom": "/html[1]/body[1]/main[1]/label[1]/div[1]/input[1]",
                    "aria": "/document[1]/main[1]/checkbox[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "WCAG20_Input_ExplicitLabel",
                    "value": [
                    "INFORMATION",
                    "PASS"
                    ],
                    "path": {
                    "dom": "/html[1]/body[1]/main[1]/label[2]/div[1]/input[1]",
                    "aria": "/document[1]/main[1]/checkbox[2]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [],
                    "apiArgs": [],
                    "category": "Accessibility"
                }
                ]
            }
        </script>
    </body>
</html>
